//
//  ComputeProgram.h
//  DeferredLighting
//
//  Created by Holmes Futrell on 2/9/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <OpenCL/OpenCL.h>

@interface ComputeProgram : NSObject {

	cl_context	context;
	cl_program	program;
	cl_kernel	kernel;
	
}

@property (readonly) cl_kernel kernel;

-(id)initWithContext:(cl_context)c 
			  deviceID:(cl_device_id)d
			   file:(NSString *)file
		  kernelName:(NSString *)kernelName
		buildOptions:(NSString *)buildOptions;
	
-(id)initWithContext:(cl_context)c 
			deviceID:(cl_device_id)d
				file:(NSString *)file
		  kernelName:(NSString *)kernelName;

@end